import React, {Component} from 'react'
import '../../static/scss/common/contentComponent.scss'

class ContentComponent extends Component {
    render() {
        const {children, style, copyrightStyle} = this.props;
        return (
            <>
                <div className="common_container" style={style || {}}>
                    {children}
                    <div style={copyrightStyle || {}} className="copyright">
                        <p><a href="http://www.geoyt.cn" rel="noreferrer" target="_blank">西安云图信息技术有限公司</a></p>
                    </div>

                </div>
            </>
        )
    }
}

export default ContentComponent;